Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump true-myth from 7.4.0 to 8.0.1 #1241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2024

Bumps true-myth from 7.4.0 to 8.0.1.

Release notes

Sourced from true-myth's releases.

v8.0.1

🐛 Bug Fix

  • #811 fix: do not set sourceRoot in tsconfigs (@​chriskrycho) – this should make source maps resolve correctly!

Committers: 1

v8.0.0

This is a pretty small “breaking” release: it makes a change so True Myth is more type safe than it was before, specifically when constructing known-Ok or known-Err types with Result.ok and Result.err. In earlier versions, if you wrote Result.ok(123), the type would be Result<number, unknown>. New contributor @​auvred pointed out that in that case, we know there is never an error type, though, so we can use the never type. This is breaking in that you may have to explicitly annotate some types where you did not before, because of the assignability rules for unknown and never (cf. this playground).

Net, very little of your code should have to change, but where it does, it will be safer than it was before! Thanks to @​auvred for the improvement!

💥 Breaking Change

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

🚀 Enhancement

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

📝 Documentation

Committers: 2

Changelog

Sourced from true-myth's changelog.

8.0.1 (2024-08-22)

🐛 Bug Fix

  • #811 fix: do not set sourceRoot in tsconfigs (@​chriskrycho) – this should make source maps resolve correctly!

Committers: 1

8.0.0 (2024-08-11)

This is a pretty small “breaking” release: it makes a change so True Myth is more type safe than it was before, specifically when constructing known-Ok or known-Err types with Result.ok and Result.err. In earlier versions, if you wrote Result.ok(123), the type would be Result<number, unknown>. New contributor @​auvred pointed out that in that case, we know there is never an error type, though, so we can use the never type. This is breaking in that you may have to explicitly annotate some types where you did not before, because of the assignability rules for unknown and never (cf. this playground).

Net, very little of your code should have to change, but where it does, it will be safer than it was before! Thanks to @​auvred for the improvement!

💥 Breaking Change

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

🚀 Enhancement

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

📝 Documentation

Committers: 2

Commits
  • 9cbff00 Release 8.0.1
  • 1bcbfc2 Merge pull request #811 from true-myth/fix-source-maps
  • 3d033f5 fix: do not set sourceRoot in tsconfigs
  • 16a69df Merge pull request #810 from true-myth/dependabot/npm_and_yarn/types/node-22.5.0
  • 7c8a0eb Bump @​types/node from 22.4.2 to 22.5.0
  • 77e1d0f Merge pull request #808 from true-myth/dependabot/npm_and_yarn/types/node-22.4.2
  • fc058e3 Bump @​types/node from 22.4.1 to 22.4.2
  • deccc63 Merge pull request #806 from true-myth/dependabot/npm_and_yarn/types/node-22.4.1
  • 7dd52d4 Merge pull request #807 from true-myth/dependabot/npm_and_yarn/typedoc-0.26.6
  • d435339 Bump typedoc from 0.26.5 to 0.26.6
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [true-myth](https://github.com/true-myth/true-myth) from 7.4.0 to 8.0.1.
- [Release notes](https://github.com/true-myth/true-myth/releases)
- [Changelog](https://github.com/true-myth/true-myth/blob/main/CHANGELOG.md)
- [Commits](true-myth/true-myth@v7.4.0...v8.0.1)

---
updated-dependencies:
- dependency-name: true-myth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 1, 2024
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.79%. Comparing base (3d9d4db) to head (d545fc8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1241   +/-   ##
=======================================
  Coverage   99.79%   99.79%           
=======================================
  Files         110      110           
  Lines       19247    19247           
  Branches     4110     4110           
=======================================
  Hits        19207    19207           
  Misses         40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants